package com.jack.house.entity;

import java.time.LocalDateTime;
import com.jack.house.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 预约看房信息表
 * </p>
 *
 * @author jack
 * @since 2020-04-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="HouseSubscribe对象", description="预约看房信息表")
public class HouseSubscribe extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "房源id")
    private Integer houseId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户描述")
    private String desc;

    @ApiModelProperty(value = "预约状态 1-加入待看清单 2-已预约看房时间 3-看房完成")
    private Integer status;

    @ApiModelProperty(value = "预约时间")
    private LocalDateTime orderTime;

    @ApiModelProperty(value = "联系电话")
    private String telephone;

    @ApiModelProperty(value = "房源发布者id")
    private Integer adminId;


}
